export interface SysUserInterface {
    userId: number|string
    username: string
    password: string
    email: string
    phone: string
    nickname: string
    avatar: string
    status: number
    updatedTime: Date
    score: number
}



export class SysUserClass implements SysUserInterface{
    avatar: string = '';
    email: string = '';
    nickname: string = '';
    password: string = '';
    phone: string = '';
    score: number = 0;
    status: number = 0;
    updatedTime: Date = new Date();
    userId: number | string = '';
    username: string = '';

    constructor() {
        this.userId = '';
        this.username = '';
        this.password = '';
        this.email = '';
        this.phone = '';
        this.nickname = '';
        this.avatar = '';
        this.status = 0;
        this.updatedTime = new Date();
        this.score = 0;
        return this;
    }


}
